package com.study.jdbc.utils;

import java.util.ResourceBundle;

/**
* @Name: ResourceBundleUtil
* @Description: 资源配置文件读取工具类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-16 下午8:35:14 
* @Version: V1.0
 */
public class ResourceBundleUtil {
	
	private static final String PROPPATH = "com/study/jdbc/beans" ;
	
	private static ResourceBundle bundle = null ;
	
	static {
		bundle = ResourceBundle.getBundle(PROPPATH) ;
	}
	
	public static String getValueByKey(String key) {
		return bundle.getString(key) ;
	}

}
